<?php
namespace app\integration\kline;
class KlineFactory
{
    //加密货币
    const CRYPTO = 1;
    public static function createFactory($type)
    {
          switch ($type) {
              case self::CRYPTO:
                  return new HuobiApi();
          }
    }
}